FROM openjdk:8-jdk-alpine

COPY target/*.jar /app.jar

EXPOSE 8888

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && echo "$TZ" > /etc/timezone

ENTRYPOINT ["java", "-jar", "/app.jar"]
